import request from '@/utils/request'

// 查询记录
export function listLoginLogApi(data) {
  return request.post('/system/login-log/list', data)
}

// 删除记录
export function delLoginLogApi(loginId) {
  return request.post('/system/login-log/delete', { id: loginId })
}

// 清空记录
export function clearLoginLogApi() {
  return request.get('/system/login-log/clear')
}

// 解锁记录
export function unlockLoginApi(loginId) {
  return request.post('/system/login-log/unlock', { id: loginId })
}

